else{return false;} //because all of the samples were 0, switch the machine off
}else{ //i.e. if on=0; this is from the if statement right at the start
return false;
} //end else
} //end Work function
void mi::Command(int const i)
{
switch (i)
{
case 0:
MessageBox(NULL,"Edsca Migraine\n\n(c) Edward Earl, Oct 2001\nThanks: Rymix, Cyanphase\nmachine@emaajne.freeserve.co.uk\n\n","About Migraine",MB_OK|MB_SYSTEMMODAL);
break;
default:
break;
}
}
char const *mi::DescribeValue(int const param, int const value)
{
static char txt[16];
switch(param) //!!!!!!!!! There MUST be a better way of doing this